PARSING = {

	// 检查元素中是否有指定class类名元素并返回
	specElement : function(obj){

		var classIndex = (obj === undefined || obj.classIndex === undefined) ? '' : obj.classIndex;
		var element = (obj === undefined || obj.element === undefined) ? '' : obj.element;

		var arr = [];  //初始化
		for(var i = 0; i < element.length; i++){

			if(element[i].className == classIndex){

				arr.push(element[i].className); //拼接数组
			}
		}

		return arr;
	},

	// 返回指定index索引的其他索引（同一级层次）
	otherIndex : function(obj){

		var index = (obj === undefined || obj.index === undefined) ? '' : obj.index;
		var element = (obj === undefined || obj.element === undefined) ? '' : obj.element;

		var arr = [];
		for(var i = 0; i < element.length; i++){

			if(i != index){

				arr.push(i);
			}
		}
		return arr;
	}
}